package com.hqyj.smvc.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
public class Role {

    private Integer role_id;

    private String role_name;

    private List<Permissions> permissions;

    private List<Employee> employee;

    public String toString() {
        return "Role{role_id = " + role_id + ", role_name = " + role_name + ", permissions = " + permissions + ", employee = " + employee + "}";
    }
}
